namespace ModelFirst
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class Address
    {
        public int Id { get; set; }

        public string Location { get; set; }

        public int AuthorId { get; set; }
  //      [MaxLength (200,ErrorMessage ="ss")]
//       public string Email { get; set; }
        public virtual Author Author { get; set; }
    }
}
